package com.fulihui.wgj.datastatis.facade.api.mass;

import com.fulihui.common.result.rpc.BaseResult;
import com.fulihui.wgj.datastatis.facade.request.ArticleTotalStatDetailRequest;
import com.fulihui.wgj.datastatis.facade.request.ArticleTotalStatRequest;
import com.fulihui.wgj.datastatis.facade.request.MassDataStatisDetailRequest;
import com.fulihui.wgj.datastatis.facade.request.MassDataStatisPageRequest;
import com.fulihui.wgj.datastatis.facade.result.MassDataStatisDetailResult;
import com.fulihui.wgj.datastatis.facade.result.MassDataStatisPageResult;

/**
 * @author: Levon
 * @date: 2018-08-03 09:25
 */
public interface MassDataStatisApi {

    /**
     * 分页查询图文统计数据
     *
     * @param request
     * @return
     */
    MassDataStatisPageResult queryMassDataStatisPage(MassDataStatisPageRequest request);


    /**
     * 根据msgid查询详情数据
     *
     * @param request
     * @return
     */
    MassDataStatisDetailResult queryMassDataStatisDetail(MassDataStatisDetailRequest request);

    /**
     * 保存
     *
     * @param request
     * @return
     */
    BaseResult saveArticleTotalStat(ArticleTotalStatRequest request);

    /**
     * 保存
     *
     * @param request
     * @return
     */
    BaseResult saveArticleTotalStatDetail(ArticleTotalStatDetailRequest request);

}
